/*
 * Sesame Inc.
 * Copyright (c) 2009 All Rights Reserved.
 */
package com.sesame.dao;

import java.util.List;

import com.sesame.domain.Notice;

/**
 * @author shubeta
 * 
 */
public interface NoticeDAO {
    public List<Notice> getAllNotice();
    
    public List<Notice> getTopNotice();

    public Notice getNoticeById(Integer id);

    public Notice getNoticeByTitle(String title);

    public void addNotice(Notice notice);

    public void deleteNoticeById(Integer id);

    public void updateNotice(Notice notice);
}